package ch04;

class FlowEx13 {
	public static void main(String[] args) {
		int sum = 0;
		for (int i = 0; i <= 10; i += 2) {
			sum += i;
			System.out.println(i + " : " + sum);
		}
	}
}
/*
0 : 0
2 : 2
4 : 6
6 : 12
8 : 20
10 : 30
*/